Skip to content

Check if the main thread was interrupted #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 15, 2023
Merged

Check if the main thread was interrupted #413

merged 2 commits into from
Mar 15, 2023

Conversation

smirnoal
Copy link
Contributor

Description of changes:
check if thread was interrupted during customer code execution. If yes, then the environment is treated as polluted and runtime exits. Next invocation will create a new sandbox.

The existing behaviour of ignoring the flag was a reason for many complains in the past, thus releasing this change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@smirnoal smirnoal changed the title Check if the main thread was interrupted (#19) Check if the main thread was interrupted Mar 14, 2023
@smirnoal smirnoal merged commit d9c6e9e into main Mar 15, 2023
@smirnoal smirnoal deleted the interrupted_flag branch March 15, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants